package com.bean;

import java.sql.Timestamp;

/**
 * Order entity. @author MyEclipse Persistence Tools
 */

public class Order implements java.io.Serializable
{

	// Fields

	private Integer orderId;
	private User user;
	private String orderIsbn;
	private Timestamp orderDate;
	private Integer orderMount;

	// Constructors

	/** default constructor */
	public Order()
	{
	}

	/** full constructor */
	public Order(User user, String orderIsbn, Timestamp orderDate,
			Integer orderMount)
	{
		this.user = user;
		this.orderIsbn = orderIsbn;
		this.orderDate = orderDate;
		this.orderMount = orderMount;
	}

	// Property accessors

	public Integer getOrderId()
	{
		return this.orderId;
	}

	public void setOrderId(Integer orderId)
	{
		this.orderId = orderId;
	}

	public User getUser()
	{
		return this.user;
	}

	public void setUser(User user)
	{
		this.user = user;
	}

	public String getOrderIsbn()
	{
		return this.orderIsbn;
	}

	public void setOrderIsbn(String orderIsbn)
	{
		this.orderIsbn = orderIsbn;
	}

	public Timestamp getOrderDate()
	{
		return this.orderDate;
	}

	public void setOrderDate(Timestamp orderDate)
	{
		this.orderDate = orderDate;
	}

	public Integer getOrderMount()
	{
		return this.orderMount;
	}

	public void setOrderMount(Integer orderMount)
	{
		this.orderMount = orderMount;
	}

}